<%@tag import="com.wslds.bean.Img"%>
<%@tag import="com.wslds.base.util.SpringAppContextUtil"%>
<%@tag import="com.ii2d.j2ee.plugin.file.uploader.UploaderManager"%>
<%@ tag dynamic-attributes="dynAttr" body-content="empty" pageEncoding="UTF-8"%>
<%@ attribute name="image" required="true" rtexprvalue="true" type="com.ii2d.j2ee.plugin.file.Image" %>
<img src="<% 
	UploaderManager manager = (UploaderManager)SpringAppContextUtil.getBean(application, "uploaderManager");
	Img image = (Img)jspContext.getAttribute("image");
	image.setWidth(200);
	out.append(manager.getImageUrl(image));
%>" />
